Skip to content

Show detected updates on app entry and retry transient checks - #25

Merged
andre487 merged 1 commit into
mainfrom
feat/update-entry-dialog
Oct 7, 2026
Merged

andre487 merged 1 commit into
mainfrom
feat/update-entry-dialog

Conversation

@andre487

@andre487 andre487 commented Oct 7, 2026 •

Copy link
Copy Markdown
Owner

Previously, a background check could find an update while notifications were blocked and leave no visible reminder when the user opened Message487. Failed checks waited for the next daily run, and the update screen showed no background-check result.

Ports the applicable updater behavior from AndroidMegaProxy #61:

  • Persist detected versions and offer an entry/foreground dialog with Update, Remind me in a week and Skip this version. GitHub opens the existing screen for a fresh check and explicit download consent; F-Droid opens its package page. Snooze/skip applies to both dialog and notification, while manual checks remain available.
  • Show the latest background attempt's time, source and result without overwriting it during manual checks. Preserve cached detection on errors and reject stale-source or already-installed versions.
  • Request exponential JobScheduler retries starting at 30 minutes for network errors and HTTP 429/5xx. Other errors retain the daily schedule; disabling automatic checks or changing source suppresses stale retries.
  • Adapt lifecycle handling so entering from an update notification suppresses the duplicate dialog on the first resume, while later foreground entries can still show pending updates. Add EN/RU documentation and regression tests.

Validation: 78 JVM/Compose tests, debug/release lint, debug and unsigned release APK builds, unsigned-signature verification, and git diff --check passed locally. Hosted CI runs the API 26/35 emulator, Python and live n8n suites. Real daily/weekly scheduling, OEM restrictions and installation of a signed update remain device acceptance scenarios.

APK artifacts

Built from commit 03d1e769 by CI run #59.
Artifacts expire after 14 days. Neither APK uses the Message487 release key.

@andre487
andre487 merged commit 5558816 into main Oct 7, 2026
17 checks passed
@andre487
andre487 deleted the feat/update-entry-dialog branch October 7, 2026 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant